<?php 
if($list)
{
	foreach($list as $book)
	{
?>

<div class="book">
	<div class="title"><a href="./?a=book.info&id=<?php echo $book['book_id'];?>"><?php echo $book['title']; ?></a></div>
	<div class="addit">
		字节数:<?php echo $book['length']; ?>
		添加时间:<?php echo date('Y/m/d H:m', $book['addtime']); ?>
	</div>
	<div class="desc"><?php echo $book['desc']; ?></div>
</div>

<?php 
	}
	
}
?>